package com.qb.service;

import com.qb.pojo.User;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

public interface UserService {
    //查询所有用户
    List<User> findAll();

    //删除该ID的用户
    boolean deleteByUid(Integer uid);

    //模糊查询
    List<User> findByUname(String uname);

    //登录
    User login(User user);

    //详情
    Map<String, Object> findUser(Integer uid);
}
